CS 261 : A Second Course in Algorithms Lecture # 15 : Introduction to Approximation Algorithms ∗

نویسنده

  • Tim Roughgarden
چکیده

All of CS161 and the first half of CS261 focus on problems that can be solved in polynomial time. A sad fact is that many practically important and frequently occurring problems do not seem to be polynomial-time solvable, that is, are NP -hard. As an algorithm designer, what does it mean if a problem is NP -hard? After all, a real-world problem doesn’t just go away after you realize that it’s NP -hard. The good news is that NP -hardness is not a death sentence — it doesn’t mean that you can’t do anything practically useful. But NP -hardness does throw the gauntlet to the algorithm designer, and suggests that compromises may be necessary. Generally, more effort (computational and human) will lead to better solutions to NP -hard problems. The right effort vs. solution quality trade-off depends on the context, as well as the relevant problem size. We’ll discuss algorithmic techniques across the spectrum — from low-effort decent-quality approaches to high-effort high-quality approaches. So what are some possible compromises? First, you can restrict attention to a relevant special case of an NP -hard problem. In some cases, the special case will be polynomialtime solvable. (Example: the Vertex Cover problem is NP -hard in general graphs, but on Problem Set #2 you proved that, in bipartite graphs, the problem reduces to max flow/min cut.) In other cases, the special case remains NP -hard but is still easier than the general case. (Example: the Traveling Salesman Problem in Lecture #16.) Note that this approach requires non-trivial human effort — implementing it requires understanding and articulating

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

CS 261 : A Second Course in Algorithms

A popular myth is that, for NP -hard problems, there are no algorithms with worst-case running time better than that of brute-force search. Reality is more nuanced, and for many natural NP -hard problems, there are algorithms with (worst-case) running time much better than the naive brute-force algorithm (albeit still exponential). This lecture proves this point by revisiting three problems stu...

متن کامل

Lecture Notes on Approximation Algorithms Volume I

These lecture notes are based on the course CS351 (Dept. of Computer Science, Stanford University) o ered during the academic year 1991-92. The notes below correspond to the rst half of the course. The second half consists of topics such as MAX SNP, cliques, and colorings, as well as more specialized material covering topics such as geometric problems, Steiner trees and multicommodity ows. The ...

متن کامل

Advanced Algorithms Lecture Notes

Preface This is a set of lecture notes for the 3rd year course " Advanced Algorithms " which I gave in Tsinghua University for Yao-class students in the Spring and Fall terms in 2011. This set of notes is partially based on the notes scribed by students taking the course the first time it was given. Many thanks to Xiahong Hao and Nathan Hobbs for their hard work in critically revising, editing,...

متن کامل

Efficient Approximation Algorithms for Point-set Diameter in Higher Dimensions

We study the problem of computing the diameter of a  set of $n$ points in $d$-dimensional Euclidean space for a fixed dimension $d$, and propose a new $(1+varepsilon)$-approximation algorithm with $O(n+ 1/varepsilon^{d-1})$ time and $O(n)$ space, where $0 < varepsilonleqslant 1$. We also show that the proposed algorithm can be modified to a $(1+O(varepsilon))$-approximation algorithm with $O(n+...

متن کامل

Minimizing a General Penalty Function on a Single Machine via Developing Approximation Algorithms and FPTASs

This paper addresses the Tardy/Lost penalty minimization on a single machine. According to this penalty criterion, if the tardiness of a job exceeds a predefined value, the job will be lost and penalized by a fixed value. Besides its application in real world problems, Tardy/Lost measure is a general form for popular objective functions like weighted tardiness, late work and tardiness with reje...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016